const function a(x) = 2 * x

class X {
  function b(x) = 3 * x
  function compute() = a(b(c))
  c = 4
}

res1 = new X {}.compute()

res2 = new X { c = 5 }.compute()
